import * as Sequelize from 'sequelize';
import env from './../config/env'
let mysqlDb = new Sequelize(env.dbName, env.dbUser, env.dbPass, {
    host: env.dbUrl,
    dialect: 'mysql', //'mysql'|'sqlite'|'postgres'|'mssql',
    pool: {
        //max: 5,
        // min: 0,
        // idle: 10000
    }
});
export default mysqlDb;